package xtu.www.viewinject.mvp;

import com.annotation.MvpModel;
import com.annotation.MvpService;
import rx.Observable;
import xtu.www.viewinject.common.Common;
import xtu.www.viewinject.net.MMCallback;


/**
 * Created by huilin on 2017/12/9.
 */

public interface TestMVP {

    @MvpModel(className = Common.TEST_MVP_MODEL_IMPL, packName = Common.BASE_PACK_NAME)
    interface Model {
        void getSome(MMCallback mmCallback);
        void getSome1(MMCallback mmCallback);
    }


    interface View {

    }


    interface Presenter {

    }

    @MvpService
    interface Service {
        Observable<String> getSome1();
        Observable<String> getSome2();
    }
}
